﻿using System;
using System.Collections.Generic;
using System.Text;
using AppToolKit.Core.Context.Spring;
using System.Data;
using IBLL.Business;
//using IBLL.Business;

namespace BLL.Business
{
    [AutoWiring]
    public class TaskBusiness : ITaskBusiness
    {
        [AutoWiring]
        public TaskBusinessDao Dao { get; set; }
        /// <summary>
        /// 任务列表的ID
        /// </summary>
        /// <param name="taskId"></param>
        /// <returns></returns>
        public DataSet GetTaskDetailList(string taskId,string hotelid)
        {
            return Dao.GetTaskDetailList(taskId, hotelid);
        }
        public DataSet GetTask(string taskID,List<string> hotels)
        {
            return Dao.GetTask(taskID, hotels);
        }
        public DataSet GetDistinctTask()
        {
            return Dao.GetDistinctTask();
        }

        public DataSet GetTask(string taskListId)
        {
            return Dao.GetTask(taskListId);
        }
    }
}
